package nc.ui.old.send;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.button.IBillButton;
import nc.vo.bill.pub.JxPubBtnConst;
import nc.vo.jx.old.send.SendBillVO;
import nc.vo.jx.old.send.SendBodyVO;
import nc.vo.jx.old.send.SendHeaderVO;

public class SendCtrl extends AbstractManageController {
	private String m_billtype = "";
	public SendCtrl(String billType) {
		super();
		this.m_billtype = billType;
	}
	public int[] getCardButtonAry() {
		int[] buttonArray = new int[] {
//				IBillButton.Busitype,
				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,	
				IBillButton.Query, 
				IBillButton.Action,	
				IBillButton.Delete,			
				IBillButton.Line,
				IBillButton.Brow,
				IBillButton.Refresh,			 
				IBillButton.Return,
				IBillButton.Print,
				IBillButton.DirectPrint,
				JxPubBtnConst.LINKQUERY,
		  };
		return buttonArray;
}
	public int[] getListButtonAry() {
		int[] buttonArray = new int[] {	
//				IBillButton.Busitype,
				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,	
				IBillButton.Query, 
				IBillButton.Action,	
				IBillButton.Delete,			
				IBillButton.Line,
				IBillButton.Brow,
				IBillButton.Refresh,			 
				IBillButton.Card,
				IBillButton.Print,
				IBillButton.DirectPrint,
				JxPubBtnConst.LINKQUERY,
		};
		return buttonArray;
	}

	public boolean isShowCardRowNo() {
		return true;
	}
	
	public String getBillType() {
		return this.m_billtype;
	}
	
	public String[] getBillVoName() {
		return new String[] {
				SendBillVO.class.getName(),
				SendHeaderVO.class.getName(),
				SendBodyVO.class.getName()
		};
	}
	
	public String getBodyCondition() {
		return null;
	}
	
	public int getBusinessActionType() {
		return nc.ui.trade.businessaction.IBusinessActionType.PLATFORM;
	}
	
	public String getChildPkField() {
		return "csendbid";
	}
	
	public String getPkField() {
		return "csendhid";
	}

	public Boolean isEditInGoing() throws Exception {
		return false;
	}

	public boolean isExistBillStatus() {
		return true;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public boolean isShowCardTotal() {
		return true;
	}

	public String getBodyZYXKey() {

		return null;
	}

	public String getHeadZYXKey() {

		return null;
	}

	public String[] getListBodyHideCol() {

		return null;
	}

	public String[] getListHeadHideCol() {

		return null;
	}

	public boolean isShowListTotal() {
		return false;
	}
}
